package parsers

import "strings"

// isValidUTF8 检查是否为有效的UTF-8编码
func isValidUTF8(s string) bool {
	return strings.ToValidUTF8(s, "") == s
}
